package notice.dao;

//消息类型
public class NoticeType {
    public final static int all = -1;//获取所有的通知
    public final static int system = 1;
    public final static int order = 2;


    public static String getTypeName(int type) {
        switch (type) {
            case system:
                return "系统通知";
            case order:
                return "订单信息";
        }
        return "平台";
    }

}
